package com.lg.concurrent.pool;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class WhatQueue {
    public static void main(String[] args) {

        //SynchronousQueue
        ExecutorService pool1 = Executors.newCachedThreadPool();

        //DelayedWorkQueue
        Executors.newScheduledThreadPool(3);

        //LinkedBlockingQueue
        Executors.newFixedThreadPool(3);

        //LinkedBlockingQueue
        Executors.newSingleThreadExecutor();

    }
}
